﻿// Copyright (c) Adam Nathan.  All rights reserved.
//
// By purchasing the book that this source code belongs to, you may use and
// modify this code for commercial and non-commercial applications, but you
// may not publish the source code.
// THE SOURCE CODE IS PROVIDED "AS IS", WITH NO WARRANTIES OR INDEMNITIES.
namespace Studio77.CrazyJigsaw
{
    public static class Constants
    {
        public const int PUZZLE_WIDTH = 480;
        public const int PUZZLE_HEIGHT = 576;
        public const int PIECE_WIDTH = 96;
        public const int PIECE_HEIGHT = 96;
        public const int MAX_PIECE_WIDTH = 162;
        public const int SNAPPING_MARGIN = 12;
        public const int NEGATIVE_SCROLL_BOUNDARY = -3100;
        public const int TRAY_HORIZONTAL_SPACING = 110;
        public const int TRAY_VERTICAL_SPACING = 80;
        public const int TRAY_LEFT_MARGIN = 24;
        public const int TRAY_TOP_MARGIN = 621;
        public const int TRAY_2ND_ROW_HORIZONTAL_OFFSET = 50;
        public const int ON_TRAY_Y = 559;
        /// <summary>
        /// 完成误差
        /// </summary>
        public const int COMPLETE_PIX = 48;
    }
}
